package com.situ.mail.shop.dao;

import com.situ.mail.base.BaseMapper;
import com.situ.mail.shop.pojo.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询当前用户人数
     *
     * @return
     */
    int selectUserCount();

    User selectByUserCodeAndUserPass(User user);

    int findUserByCode(String userCode);

    User selectByUserCodeAndRowId(String userCode, Long rowId);

}